// src/api/types.ts

// 推荐用户类型
export interface RecommendUser {
  userId: number;
  username: string;
  nickname: string;
  avatarUrl?: string;
  gender: number; //1-男，0-女
  mutualFriends?: number;
  reasons: string[];
}

// 好友请求类型
export interface FriendRequest {
  ufId: number;
  fromUserId: number;
  fromUsername: string;
  fromNickname: string;
  fromAvatarUrl?: string;
  status: number; // 0-待审核, 1-已通过, 2-已拒绝
  createTime: string;
}

// 用户数据传输对象
export interface UserDto {
  userId: number
  username: string
  password?: string
  nickname?: string
  gender?: number
  avatarUrl?: string
  userPhone?: string
  email?: string
  creator?: string
  createTime?: string
  updater?: string
  updateTime?: string
  status?: number
  educationInfo?: string
  workInfo?: string
  locationInfo?: string
}